import request from '@/utils/request'


export function findAllList(data) {
  return request({
    url: '/case/list',
    method: 'post',
    data
  })
}

export function findInterfacelist(data) {
  return request({
    url: '/interface/list',
    method: 'post',
    data
  })
}

export function addCasePost(data) {
  return request({
    url: '/case/add',
    method: 'post',
    data
  })
}

export function deleteCasePost(data) {
  return request({
    url: '/case/delete',
    method: 'post',
    data
  })
}

export function excuteCase(data) {
  return request({
    url: '/case/callCase',
    method: 'post',
    data
  })
}

export function getResult(data) {
  return request({
    url: '/result/detail',
    method: 'post',
    data
  })
}

export function copyCase(data) {
  return request({
    url: '/case/copycase',
    method: 'post',
    data
  })
}